package com.caipos.mqtt.entity;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.util.List;

@Data
public class MqttData1Entity {
    @JSONField(name="gwid")
    private String gwid;

    @JSONField(name="interval")
    private Integer interval;

    @JSONField(name="node")
    private List<MqttNodeData> nodelist;

    @Override
    public String toString() {
        return "MqttData1Entity{" +
                "gwid='" + gwid + '\'' +
                ", interval=" + interval +
                ", nodelist=" + nodelist +
                '}';
    }
}
